#ifndef AVCODECSAMPLE_OPENGL_RECORDER_NATIVE_H
#define AVCODECSAMPLE_OPENGL_RECORDER_NATIVE_H

#include <js_native_api.h>
#include <js_native_api_types.h>
#include <memory>
#include <native_window/external_window.h>
#include "napi/native_api.h"
#include "recorder.h"
#include "dfx/error/av_codec_sample_error.h"
#include "av_codec_sample_log.h"

class RecorderNative {
public:
    static napi_value Init(napi_env env, napi_callback_info info);
    static napi_value Start(napi_env env, napi_callback_info info);
    static napi_value Stop(napi_env env, napi_callback_info info);
};

#endif //AVCODECSAMPLE_OPENGL_RECORDER_NATIVE_H
